package com.woniu113.junk.order.client.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 蜡笔没了小新
 * @since 2024年10月16日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("admin_info")
public class AdminInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "admin_id", type = IdType.AUTO)
    private Integer adminId;

    @TableField("admin_name")
    private String adminName;

    /**
     * 密码
     */
    @TableField("password")
    private String password;

    /**
     * 角色id
     */
    @TableField("role_id")
    private Integer roleId;

    /**
     * 管理端名字
     */
    @TableField("real_name")
    private String realName;

    /**
     * 0.正常 1.禁用 2.删除
     */
    @TableField("admin_state")
    private Integer adminState;

    @TableField("station_id")
    private Integer stationId;

    @TableField("admin_phone")
    private String adminPhone;
}
